import babel from "rollup-plugin-babel";
export default {
  input: "./src/idnex.js",
  output: {
    file: "./dist/vue.js",
    name: "Vue", //global.vue
    format: "umd", //esm es6 commonjs iife自执行函数 umd统一模块规范
    sourcemap: true, //希望可以调试源码
  },
  Plugins: [
    babel({
      exclude: "node_modules/**", //排除node所有文件
    }),
  ],
};
